# 视频文件存储根目录
VIDEO_ROOT = "/Users/zhangxiaoyu/self/project/python-project/ffmpeg-tool/file"

# 文件上传路径
FILE_UPLOAD_PATH = "/Users/zhangxiaoyu/self/project/python-project/ffmpeg-tool/file/input"
ALLOWED_EXTENSIONS = {'mp4', 'avi', 'mov', 'mkv', 'mp3', 'wav', 'jpg', 'png'}  # 允许的文件类型
MAX_CONTENT_LENGTH = 100 * 1024 * 1024 * 1024  # 最大支持 100MB 文件

# 文件输出路径
FILE_OUTPUT_PATH = "/Users/zhangxiaoyu/self/project/python-project/ffmpeg-tool/file/output"

# Celery 消息队列
CELERY_BROKER_URL = 'redis://127.0.0.1:6379/1'

# Celery 结果存储
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/2'
